package com.n4v1.pko.server.model;

import com.n4v1.pko.server.model.actor.Character;
import com.n4v1.pko.server.model.actor.CharacterTable;

public class World {
	private CharacterTable characterTable;
	public static World instance;
	
	public World() {
		characterTable = CharacterTable.getInstance();
	}
	
	public static World getInstance() {
		if(instance == null)
			instance = new World();
		return instance;
	}
	
	public void addCharacter(Character c) {
		characterTable.addChar(c);
	}
}
